//
// Source code recreated from a .class file by IntelliJ IDEA
// (powered by Fernflower decompiler)
//

package com.ruoyi.live.excel.domain;

import com.alibaba.excel.annotation.ExcelProperty;

public class ExamScore {
    @ExcelProperty(
            value = {"用户名"},
            index = 0
    )
    private String userLoginName;
    @ExcelProperty(
            value = {"客观评分点得分"},
            index = 1
    )
    private Double objScore;
    @ExcelProperty(
            value = {"裁判评分"},
            index = 2
    )
    private Double expertScore;
    @ExcelProperty(
            value = {"总分"},
            index = 3
    )
    private Double score;

    public ExamScore() {
    }

    public String getUserLoginName() {
        return this.userLoginName;
    }

    public Double getObjScore() {
        return this.objScore;
    }

    public Double getExpertScore() {
        return this.expertScore;
    }

    public Double getScore() {
        return this.score;
    }

    public ExamScore setUserLoginName(final String userLoginName) {
        this.userLoginName = userLoginName;
        return this;
    }

    public ExamScore setObjScore(final Double objScore) {
        this.objScore = objScore;
        return this;
    }

    public ExamScore setExpertScore(final Double expertScore) {
        this.expertScore = expertScore;
        return this;
    }

    public ExamScore setScore(final Double score) {
        this.score = score;
        return this;
    }

    public boolean equals(final Object o) {
        if (o == this) {
            return true;
        } else if (!(o instanceof ExamScore)) {
            return false;
        } else {
            ExamScore other = (ExamScore)o;
            if (!other.canEqual(this)) {
                return false;
            } else {
                label59: {
                    Object this$userLoginName = this.getUserLoginName();
                    Object other$userLoginName = other.getUserLoginName();
                    if (this$userLoginName == null) {
                        if (other$userLoginName == null) {
                            break label59;
                        }
                    } else if (this$userLoginName.equals(other$userLoginName)) {
                        break label59;
                    }

                    return false;
                }

                Object this$objScore = this.getObjScore();
                Object other$objScore = other.getObjScore();
                if (this$objScore == null) {
                    if (other$objScore != null) {
                        return false;
                    }
                } else if (!this$objScore.equals(other$objScore)) {
                    return false;
                }

                Object this$expertScore = this.getExpertScore();
                Object other$expertScore = other.getExpertScore();
                if (this$expertScore == null) {
                    if (other$expertScore != null) {
                        return false;
                    }
                } else if (!this$expertScore.equals(other$expertScore)) {
                    return false;
                }

                Object this$score = this.getScore();
                Object other$score = other.getScore();
                if (this$score == null) {
                    if (other$score != null) {
                        return false;
                    }
                } else if (!this$score.equals(other$score)) {
                    return false;
                }

                return true;
            }
        }
    }

    protected boolean canEqual(final Object other) {
        return other instanceof ExamScore;
    }

    public int hashCode() {
        boolean PRIME = true;
        int result = 1;
        Object $userLoginName = this.getUserLoginName();
        int result1 = result * 59 + ($userLoginName == null ? 43 : $userLoginName.hashCode());
        Object $objScore = this.getObjScore();
        result1 = result * 59 + ($objScore == null ? 43 : $objScore.hashCode());
        Object $expertScore = this.getExpertScore();
        result1 = result * 59 + ($expertScore == null ? 43 : $expertScore.hashCode());
        Object $score = this.getScore();
        result1 = result * 59 + ($score == null ? 43 : $score.hashCode());
        return result1;
    }

    public String toString() {
        return "ExamScore(userLoginName=" + this.getUserLoginName() + ", objScore=" + this.getObjScore() + ", expertScore=" + this.getExpertScore() + ", score=" + this.getScore() + ")";
    }
}
